// ****************************************************************
// Copyright 2012, Stephan Burguchev
// e-mail: me@sburg.net
// ****************************************************************
// *
using System;
using System.IO;

namespace Updater.Common
{
    public class UpdaterAssemblyRequestedEventArgs : EventArgs
    {
        public UpdaterAssemblyRequestedEventArgs(Stream sink)
        {
            if (sink == null)
            {
                throw new ArgumentNullException("sink");
            }

            this.Sink = sink;
        }

        public bool Handled { get; set; }

        public Stream Sink { get; private set; }
    }
}
